package com.uwantsoft.util.validator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

/**
 * @author LeiPeichen.
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = {IsPositiveIntegerValidator.class})
public @interface IsPositiveInteger {
    String message() default "请输入正整数";
    Class<?>[] groups() default {};
    Class<? extends Payload>[] payload() default {};
}
